import nav from "./index.module.less"
function Navbar(props) {
    return (
        <div className={nav.box}>
            <div className={nav.img}>{props.left}</div>
            <div className={nav.title}>{props.title}</div>
            <div className={nav.nav}  style={{  opacity: props.left ? 1 : 0 }} >{props.children }</div>
        </div>
    )
}

export default Navbar